﻿using System;
using System.Collections.Generic;
using System.Text;
using static FastIOC.Enum.CotainerEnum;

namespace FastIOC.Attribute
{
    [AttributeUsage(AttributeTargets.Class, Inherited = true)]
    public class Component : System.Attribute
    {
        public ComponentScope Scope { set; get; }
        public Component()
        {
            //默认多例
            Scope = ComponentScope.Prototype;
        }
    }
}
